/**
 * 
 */
package com.aspire.android.heliar.raw;

import java.util.List;

import com.aspire.android.heliar.pub.Pub;

/**
 * @author panglei
 * 
 */
public interface RawDataManager<T extends Raw> {

	public String generatePubId(T t);
	
	public T get(String id);

	public void delete(String id);

	public List<T> list();

	public List<T> list(RawDataFilter<T> filter);
	
	public List<T> reload();
	
	public Pub toPub(T t);

}
